package com.yiboshi.rehrs;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableScheduling;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

//@ServletComponentScan
@SpringBootApplication(scanBasePackages = {"com.yiboshi"})
@MapperScan("com.yiboshi.rehrs.domain.mapper")
@EnableFeignClients(basePackages = {"com.yiboshi"})
@EnableSwagger2
@EnableScheduling
public class ZyAntWebApplication {

    public static void main(String[] args) {
        SpringApplication.run(ZyAntWebApplication.class, args);
    }

}
